#include "pickgamemodewidget.h"

PickGameModeWidget::PickGameModeWidget(QWidget *parent) : QWidget(parent),ui(new Ui::GameModeForm){
    ui->setupUi(this);

    connect(ui->backButton,SIGNAL(clicked()),this,SIGNAL(backClicked()));
    connect(ui->singleplayerButton,SIGNAL(clicked()),this,SIGNAL(singleplayerSelected()));
    connect(ui->multiplayerButton,SIGNAL(clicked()),this,SIGNAL(multiplayerSelected()));
}

PickGameModeWidget::~PickGameModeWidget(){
    delete ui;
}
